package com.dzl.goods.service;

import com.dzl.goods.pojo.WelfareGoodsAttrGroup;
import com.dzl.base.service.BaseService;

import java.util.List;

/**
 * 商品属性组表(WelfareGoodsAttrGroup)表服务接口
 * @author ChenLong
 * @date 2021-05-29 19:20:07
 */
public interface WelfareGoodsAttrGroupService extends BaseService<WelfareGoodsAttrGroup> {
    /**
     * 根据分组id列表删除规格组
     * @author ChenLong
     * @date 2021-05-31 18:40:55
     * @param groupIdList 分组id列表
     * @return int
     **/
    int deleteGoodsAttrGroupByGroupId(List<Integer> groupIdList);

    /**
     * 批量插入规格组信息
     * @author ChenLong
     * @date 2021-06-03 20:04:34
     * @param list 规格组列表
     * @return int
     **/
    int insertGoodsAttrGroupList(List<WelfareGoodsAttrGroup> list);
}
